import { Module } from '@nestjs/common';
import { MadeService } from './made.service';
import { MadeController } from './made.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Mproduct } from './entities/mproduct.entity';
import { ResponseModule } from 'src/response/response.module';
import { ResponseService } from 'src/response/response.service';
import { Mcustomer } from './entities/mcustomer.entity';
import { Mbill } from './entities/mbilling.entity';
import { BillingDetails } from './entities/mbillingdetail.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([Mproduct]),
    TypeOrmModule.forFeature([Mcustomer]),
    TypeOrmModule.forFeature([Mbill]),
    TypeOrmModule.forFeature([BillingDetails]),
    ResponseModule,
  ],
  controllers: [MadeController],
  providers: [MadeService, ResponseService],
})
export class MadeModule {}
